<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
 <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面 >> 用户信息查看页面</span>
        </div>
        <div class="providerView">
            <p><strong>员工编号：</strong><span>${emp.id }</span></p>
            <p><strong>员工姓名：</strong><span>${emp.empName }</span></p>
            <p><strong>手机号：</strong><span>${emp.phone }</span></p>
            <p><strong>员工号：</strong><span>${emp.idCardNo }</span></p>
            <p><strong>所属部门：</strong>
            	<span>
            			<c:if test="${emp.depId == 1}">生产部</c:if>
						<c:if test="${emp.depId == 2}">销售部</c:if>
						<c:if test="${emp.depId == 3}">办公部</c:if>
						<c:if test="${emp.depId == 4}">技术部</c:if>
				</span>
			</p>
			<p><strong>岗位：</strong>
            	<span>
            		<c:if test="${emp.jobId == 1}">技术员</c:if>
						<c:if test="${emp.jobId == 2}">技术总监</c:if>
						<c:if test="${emp.jobId == 3}">生产员</c:if>
						<c:if test="${emp.jobId == 4}">生产组长</c:if>
						<c:if test="${emp.jobId == 5}">生产助理</c:if>
						<c:if test="${emp.jobId == 6}">销售员</c:if>
						<c:if test="${emp.jobId == 7}">销售经理</c:if>
						<c:if test="${emp.jobId == 8}">办事人员</c:if>
						<c:if test="${emp.jobId == 9}">办公司组长</c:if>
				</span>
			</p>
			<p><strong>地址：</strong><span>${emp.address }</span></p>
			<p><strong>状态：</strong>
            	<span>
            			<c:if test="${emp.status == 0}">技术员</c:if>
						<c:if test="${emp.status == 1}">技术总监</c:if>
				</span>
			</p>
            <p><strong>出生日期：</strong><span><fmt:formatDate value="${emp.birthdate}" pattern="yyyy-MM-dd" /></span></p>
            <p><strong>照片：</strong><img src="${emp.picLocPath}" alt="暂无个人照" width="100px"></p>
			<div class="providerAddBtn">
			<form action="list" method="post">
				<input type="submit" id="back" name="back" value="返回" >
			</form>
            </div>
        </div>
    </div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/userview.js"></script>